<extend name="Index/index"/>
<block name="main">
<link rel="stylesheet" type="text/css" href="__ROOT__/public/mycss/libin.css">

<div class="placeholder-height"></div><div class="container">
            <div class="wrap-left pull-left">
                    <!-- 搜索开始 -->
                    <form  method="post" action="<{:U('Search/index')}>">            
                            <div class="col-md-11"><input class="search-input-list" name="title" value=""></div>
                            <button type="submit" class="search-btn transition pull-left"><i class="icon icon-search-list"></i></button>
                    </form>
                    <!-- 文章开始 -->
                    <!-- 清除浮动 -->
                    <div class="clearfix"></div>

                    <div class="search-list-warp">
                                    <ul class="search-wrap-list-ul " >
                                            <empty name="data">
                                                    <h2>
                                                        <div class="mob-author"> 没有找到你要的数据</div>
                                                    </h2>
                                            <else />
                                            <volist name="data" id="v">
                                             <li>
                                                        <h2><a href="<{:U('Article/index',array('aid'=>$v['id']))}>" target="_blank"><{$v['title']}></a></h2>
                                                        
                                                        <div class="mob-author">
                                                            <span class="name"><a target="_blank" href="<{:U('Article/index',array('aid'=>$v['id']))}>"><{$v['name']}></a></span>
                                                            <span class="time"><{$v['create_time']}></span>
                                                        </div>
                                             </li>
                                             </volist>  
                                             </empty>                
                                    </ul>
                                    <!-- think分页 -->
                                  <!-- <div class="page-nav">
                                            <ul class="pagination">
                                            <li class="disabled">
                                                    <a href="#" aria-label="First">
                                                            <span aria-hidden="true"><i class="icon icon-first"></i> </span>
                                                             <{$page}>
                                                   </a>
                                           </li>
                                            </ul>
                                  </div> -->
                                    <!-- 官方分夜-->
                                    <nav class="page-nav">
                                    <br>
                                    <br>
                                    <br>
                                            <ul >
                                                    <li class="active ">
                                                            <a > <{$page}></a>
                                                    </li>   
                                            </ul>
                                    </nav>    
                                    <!--  -->                
                        </div>
            </div>
          <div class="wrap-right pull-right">
                    <div class="box-moder hot-article">
                        <h3><b>热文</b></h3>
                        <span class="span-mark"></span>
                        <ul>
                            <volist name="hot" id="val">
                            <li>
                                <div class="hot-article-img">
                                    <a href="<{:U('Article/index', array('aid'=>$val['aid']))}>" target="_blank">
                                        <img src="__ROOT__/Uploads/<{$val['img']}>">
                                    </a>
                                </div>
                                <a href="/article/157433/1.html" class="transition" target="_blank"><{$val['title']}></a>
                            </li>
                            </volist>
                        </ul>
                    </div>
           </div>             
</div>
</block>